home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / init.d / stop-bootlogd < prev    next >
Encoding:
Text File  |  2012-03-27  |  567 b   |  34 lines

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          stop-bootlogd
  4. # Required-Start:    $local_fs $all
  5. # Required-Stop:
  6. # Default-Start:     2 3 4 5
  7. # Default-Stop:
  8. # Short-Description: Stop bootlogd
  9. # Description:       See the init.d/bootlogd script
  10. ### END INIT INFO
  11.  
  12. NAME=stop-bootlogd
  13. DAEMON=/sbin/bootlogd
  14.  
  15. [ -x "$DAEMON" ] || exit 0
  16.  
  17. case "$1" in
  18.   start)
  19.     /etc/init.d/bootlogd stop
  20.     ;;
  21.   stop|restart|force-reload)
  22.     # No-op
  23.     ;;
  24.   status)
  25.     exec /etc/init.d/bootlogd status
  26.     ;;
  27.   *)
  28.     echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
  29.     exit 3
  30.     ;;
  31. esac
  32.  
  33. :
  34.